package com.wennimei.domain;

import java.util.Date;

public class User {

    public static final String REG_TYPE_WEIXIN = "wx";

    public static final String REG_TYPE_RENREN = "rr";

    public static final String REG_TYPE_SINAWEIBO = "sinawb";

    private Long id;

    private String regType;

    private String renrenId;

    private String weixinId;

    private String sinawbId;

    private Date addTime;

    private String country;

    private String province;

    private String city;

    private String sex;

    public User(String regType, String renrenId, String weixinId,
            String sinawbId, String country, String province, String city,
            String sex) {
        this.regType = regType;
        this.renrenId = renrenId;
        this.weixinId = weixinId;
        this.sinawbId = sinawbId;
        this.country = country;
        this.province = province;
        this.city = city;
        this.sex = sex;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRegType() {
        return regType;
    }

    public void setRegType(String regType) {
        this.regType = regType;
    }

    public String getRenrenId() {
        return renrenId;
    }

    public void setRenrenId(String renrenId) {
        this.renrenId = renrenId;
    }

    public String getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(String weixinId) {
        this.weixinId = weixinId;
    }

    public String getSinawbId() {
        return sinawbId;
    }

    public void setSinawbId(String sinawbId) {
        this.sinawbId = sinawbId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public static String getRegTypeWeixin() {
        return REG_TYPE_WEIXIN;
    }

    public static String getRegTypeRenren() {
        return REG_TYPE_RENREN;
    }

    public static String getRegTypeWeibo() {
        return REG_TYPE_SINAWEIBO;
    }

}
